.user {
  width: 100%;
  min-height: 30vh;
  margin: 5% 0;
  .user-container {
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    min-width: 700px;
    width: 75%;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    .user-background {
      position: absolute;
      top: 0;
      left: 0;
      height: 200px;
      width: 100%;
      background-repeat: no-repeat;
      background-size: cover;
      // filter: blur(1px);
      transition: all 0.5s;
      // &:hover {
      //   filter: blur(0);
      // }
    }
    .user-avatar {
      margin-top: 130px;
    }
    .user-data {
      width: 400px;
      margin: 100px 0 50px 0;
      li {
        margin: 30px 0;
        .data_content {
          margin-left: 50px;
        }
        .user-edit-name {
          margin-left: 10px;
          &:hover {
            color: #29c2ff;
          }
        }
      }
      .data_btn {
        text-align: center;
        margin-top: 100px;
      }
      .user-name {
        display: flex;
        align-items: center;
        .edit-btn-icon {
          font-size: 20px;
          margin-left: 5px;
          cursor: pointer;
          &:hover {
            color: #29c2ff;
          }
        }
        .user-name-input {
          width: 50%;
          margin-left: 53px;
        }
      }
    }
  }
}
.user-avatar-modal {
  .ant-modal-body {
    display: flex;
    flex-wrap: wrap;
    .avatar-uploader {
      width: auto;
      margin: 8px;
      .ant-upload {
        width: 66px;
        height: 66px;
        margin: 0;
      }
    }
  }
  .avatar-wrap {
    display: inline-block;
    box-sizing: border-box;
    margin: 8px;
    padding: 2px;
    &:hover {
      padding: 1px;
      border: 1px solid #00b0ff;
      box-shadow: 0 0 2px #00b0ff;
    }
    &.active {
      padding: 0;
      border: 2px solid rgb(70, 224, 116);
      box-shadow: 0 0 3px rgb(70, 224, 116);
    }
  }
}
